#!/usr/bin/env bash

# testing scan
echo "python3 literatureTool.py scan"
python3 literatureTool.py scan
echo "======================================================================"

# testing addkeys
echo "python3 literatureTool.py addkeys Wi-Fi driver 89f357f58"
python3 literatureTool.py addkeys Wi-Fi driver 89f357f58
echo "======================================================================"
echo "python3 literatureTool.py addkeys driver a881eba6"
python3 literatureTool.py addkeys driver a881eba6
echo "======================================================================"

# tesiting addauthors
echo "python3 literatureTool.py addauthors wxl wangxinglong 89f357f58"
python3 literatureTool.py addauthors wxl wangxinglong 89f357f58
echo "======================================================================"
echo "python3 literatureTool.py addauthors wxl a881eba6"
python3 literatureTool.py addauthors wxl a881eba6
echo "======================================================================"
echo "python3 literatureTool.py addauthors wxl a881eba6"
python3 literatureTool.py addauthors wxl a881eba6
echo "======================================================================"

# testing querykeys
echo "python3 literatureTool.py querykeys driver"
python3 literatureTool.py querykeys driver
echo "======================================================================"
echo "python3 literatureTool.py querykeys Wi-Fi driver"
python3 literatureTool.py querykeys Wi-Fi driver
echo "======================================================================"

# tesing info
echo "python3 literatureTool.py info a881eba6"
python3 literatureTool.py info a881eba6
echo "======================================================================"
echo "python3 literatureTool.py info 89f357f58 a881eba6"
python3 literatureTool.py info 89f357f58 a881eba6
echo "======================================================================"


# testing open
echo "python3 literatureTool.py open 89f357f58"
python3 literatureTool.py open 89f357f58
python3 literatureTool.py info 89f357f58
